<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">

	<h:body>
 
    	<h1>JSF 2 dataTable example</h1>
 
    		<h:dataTable value="#{providerlistbean.current}" var="o"
    			styleClass="order-table"
    			headerClass="order-table-header"
    			rowClasses="order-table-odd-row,order-table-even-row"
    		>
 
    			<h:column>
    				<!-- column header -->
    				<f:facet name="header">Name</f:facet>
    				<!-- row record -->
    				#{o.name}
    			</h:column>
 
    			<h:column>
    				<f:facet name="header">Email</f:facet>
    				#{o.email}
    			</h:column>
 
    			<h:column>
    				<f:facet name="header">Telephone</f:facet>
    				#{o.telephone}
    			</h:column>
 
    			<h:column>
    				<f:facet name="header">Address</f:facet>
    				#{o.address}
    			</h:column>
 
    		</h:dataTable>
    </h:body>
</html>